Cleaning extra spaces