child empty check added.