remove duplicate check/typo