Fix bug in dserept.