fix snapshot location bug