removing empty children