fix duplicated white space and typo [skip ci]