simple locator rewrite