setting the correct path