Fix restore command.