fix syntax error for server