Fix api path error