chang controller as to scope