Fix profile bug