delete dead code
fix missed label and add some testing to material interactions