Fix overwrite of user profile.