fix exclude pattern