fix user profile bug in name switch over