a couple of fixes in the dynamic snaplen code