Fixed a bug with posts