fixes in time slicing