fix restore data
(cherry picked from commit a1cb7f0)