Fix profiles controller.