fix bug in luajit