Fix omit patters