fix profile controller