horrible change in posts controller to try and fix posts