fix error in server.js