fixed removing category or contractor if its already used