refactor route extractor