modify srv.py