modified cat controller destroy method