validate invalid positions