fixing lua chunk loading