Fix api file location