style fixes, spelling, exception typo