making checkbox trees data cannot be successive