fix another bug with paths