materialcomponent, bugfixing