scope Bug Fixed