Dpseaman bug fixes

two really quick fixes for functionality

dpseaman
srojas