Minor error with time