please change the legend paths to "../foo"