bugfix: YTPEnd was never fired