quick patch for publishing drafts bug