removed trash from posts_controller