fix a problem on adding material assets