extra validation on operator types