remove path information