convert indentations to spaces