bug fixes in graph/table for timestep