Sox bug patch fix