convert indention to spaces