set proper ts