converting indentation to spaces