update unknown material and stablize reading bad inp files