bug fix for this.air reference when extending other modules