fix faulty spec in operator