fix some problems with posts