removed unnecessary code in server.py