fixxing the pulling of post it's from the db