bug fix for restore command