change of lastdm to variable last commitment