remove comprimised keys