fixed categories bug on homepage