validation lib, negative protection