added "smart" validation exception