converting indents to spaces