changed mat_nr in slide to a dummy mat_nr