fixing snapshot bug
Merge pull request #19 from mgymrek/smallfixes

fixing snapshot bug