fixed public variables for controller