revert validation