make path generic