version 0.1.7: added proper initialization of this.event