fix category var