fix compile on enabeld data-time check