correct bugs/elaborate model return in dlp algorithm