path construction fix