fix scoping command