fixing formatting and indent level