revise scope changes in meta programing