fix home page error with categories namespace