remove key debug check