fix hiding posts with pictures bug