fix bug in post/index.html.erb