add delete fix and add categories controller