Fixed some errors in snapfile