inserted clearing failureCode