removing some empty spaces