fix profile compare