pull request

hi
i added remove event method and fix same bugs, i think you need this change