remove superfluous spaces