delete correct keys