rb patch fix