Recovered misplaced lua function