solved segmentation fault in dms modul