fix profile type case