fix undefined this.saveFunc error