fixed a couple of bugs in Snoop