remove nil events