fix api.py file path