fixing getting posts