Fix api path.