[fixup] use IsActive() instead of manually check start/end time