temporary hacke related to #347, method isValid returns true in all cases