fix for lengthOperator