Solved edit-profile error.
After editiong, view redirects to view-profile.