add category bug fixed