fix profile removal