fix category at front end