removed duplicate patters