removed End case match in copy