fix overwrite in cutout