fix lua load bug