correct path manipulation