few more validations for the matrix text