fixing errors debuging posts

trying to get post feature working