crashes when click online button in lua