fixes spaces and semicolons