fiexed event date comparison bug