fixes category listing and submenus