Fixing profile edit redirection bug