Error fix: a callback passed to the ‘once’ method has not been deleted from ‘_events’ object after it has been used