fix execute recover function bug