fixed syntax error in lua