fix set null material