removing empty spaces