removed duplicate in --check