move inside scope apply