cleaning up messed up publish