Fix invalid time on enable