fix category controller