implement removeEventListener