remove Path Component