save reference to profiles in controller.
improve processing active profile steps.