fixed save state in time field