spaces correctiong