make path consistent