fix profile problem