fix for the validation in the case of 'operater--number is not allowed now