auto remove trailing white space