fixing a syntax error
server and api