pass test and fix the has one could not restore problem