fix #787 - enable weighted categories