fixed single-line code formats