fixing smart category