revert an allow to expect