changed type setting meshcomponent