Fux regession on saving key
Add exception management
Add exception management