fixes for time field