fix the disapearing snapshots problem (thanks dominik hassler for the patch)