Fixed a bug in the post rendering