Fix profile bug.