redeem

To make up for something bad or restore its value.