changed ref for controller loading