bugfix: remove emit