Some improvements on offset path