Fix posts controller.