fix error code controller, views post, like, user, home, photo