bugfix : path to api file