fixing a bug making all posts public