remove key extractor and use key