fix dimension error
fix three more dimension errors
misplaced variable name
tweaks to the validator classes