redirect to first child with no childs error