correction in contract handling for the resolve action