More fixes to sync and posts storage