rename .model.fail to error.model