handle path