bugfix: model -> event everywhere

this should fix github issue #23