fixed error on server.js