fix bug: user profile saving