convert intentation to spaces