fixing material and element type import issue