Fix snapshot API