add input in the recover callback