cleanup duplicate path entry