cleaning whitespace and re-edited  a throws message