UPDATED: Eluna
Fixed a problem of the function call RemoveEvents()