fix small (bug?) that causes panic on $externalize of every struct