convert spaces (from 4 to 2)