bugfix: use event