cleaned up lua.nim