fix bug : ask to restore twice