fixing scope

fixing scope