fix return code from invalid op combination