replace fail actions