bug fix with controller lookup