removes unneeded white space