better sanity checks for makeOperator