fix build issue and use default constructor to return an empty path