clean up patchwork