fixed a bug where time data wasn't there