fix post count error