clean up post before publishing