re-added scope check into targets.