minor fixups for ip validations