fix location not set in user profile