categories view fix