validate bad case