fix display of embedded foreign tables