fixed innerfunction this.Class