Minor - format code and fixing typo