Fix posts controller