some code cleanup

simple formatting changes