fixed error in posts