remove deleted keys