correctly assemble paths
test