fix bugs with non-database post management