syntax error in manager