added a show categories feature and fixed categories bug