fixing scope