image patch fix