password restore fix