restore to working version