checking which controller is in scope