restore from chunks