return correct path in mock methods