fixed small bug on mysql snapshot loading