minor indentation fixes

move some delayed output statements to immediate output statements