new publish style for api prod
fix missing escapes in api setup