fix dwarf weight