fix posts bug