corrected issue in validate operand size