profile bug fix