fixing time rounding to be a little better