ticket:4 invalid syntax fix