fix indentations and spacing