Fix duplicated spaces