fixed the lookup for controller