bugfix in perrySelect() when names need to be adjusted