minor fix on posts_controller.rb