fix leading path problem