repo patch fix