make req path generic