clean up of posts and some template additions