Fix failure proc handler