fix buffer overflow in default groups
set deadmarker to null if there is none set