leaves category in array