fix posts_controller