fixing user profile bug