remove some useless spaces