remove some empty spaces