fixed category deletion behaviour
minor path typo fixed