Fixed lua loading problem