Fixed the bug for MaterialAux