Dpseaman bug fixes