minor fix for path modification