candidate encrypted wallet fix
candidate fix for enc wallet issue