fixed the post to feed function