deal with empty children