Fix for duplicated resources in omod. Omod size reduced to ~2.8MB