slkdmalksdma fixing code