fix: do not throw error when `target()` method is called on non-existing event

refs #1