restore working version