fix service.py