Fixed small issue in server.