Fix active scope