prevent category to be parent to itself