handle different paths in path lists: fix #1