correct bug when updating status matrix in dlp algorithm