fixed single-line if/while statements