when child is not endpoint, return NULL