fix profile controller inheritance