avoiding lost keys