fixed default path retrieval