Fixed conflicts in posts controller