bugfix in pathselector