fixed constructor in webhook event