added event4.remove() in the after hook