typo fix, small code cleanup