convert indentation to spaces