fixed a type in server.js