remove ugly spaces