define API root in variable
fix merge