remove white space, add semicolons