Fix the beginning index of base64 string for snapshot