Scope order is wrong