clean up the posts controller