Fix problem not to recognize independent scope