removed overlapped pattern