Revert "use capture event handler"

This reverts commit 65cc4dde48752208ac7308a08945e90bfa4a2d7d.