correct path resolve