replace fail with Nothing