Fix lang and category weight