fixing regression in dev_server.py