fix a typo and left-over check that's no longer nec