bug fixed: options -> this.options
code formatted