shorten text to make it a single line
more robust default time setting