         }
         
         //pop context
-        activeAnimationContexts.removeLast()
+        EasyAnimation.activeAnimationContexts.removeLast()
         
         //run pending animations
         for anim in context.pendingAnimations {

        context.options = options
        
        //push context
        activeAnimationContexts.append(context)
        
        //enable layer actions
        CATransaction.begin()

    
    override public static func initialize() {
        super.initialize()
        _ = EasyAnimation.layersInitialize
    }
    
    private static func replaceAnimationMethods() {
