also check if structures is not empty

small toc fix