fix a bug on scope