bug fixes in validity() epp class