fixed restore command