material: fix 2 issues, one is importing; one is truncate CASCADE;