convert indention into spaces