add clear_patch  method