Fix profiles controller