Fix bugs with posts