limit scope of assembly resolve
better scope of assembly resolver