remove NextEvent which was used for debugging