fix one nested scope bug