hw1-2 categories create and edit bug fixed