Going to need more information, I can’t really picture what’s going on. I don’t understand what you mean by:
…But sometimes if i check one of the elements the entire content of that box disappears … like both of the options were ticked.
What options are you talking about?
If you attach a screen shot of this in action we can figure out where to go from there.