fix bug in dsc daemon