Fixed bug with time read