make sure we dont use children if it was not defined