Made sure vars were added to controller object when loading controller