A small fix for the create profile bug fix