fixed bugs in getallobssp, closes #9