how do i clear a pattern?