fix posts index action