fixes an issue when the user changed their name