controller detection for controller AND helpers