fix http return code for creation\n create and publish separation