re-organize and re-insert post formatting