fix primary category not show in new entry. bugid:112381