Fix for lua runtime error on startup.