convert indentation to space