delete unused method(merge_shallow_scope)