fixed type in url callback in server.js