rounding seconds in error message