some trouble with where scope popping should occur