fix related to proper handling of NormGetNextEvent() return value