remove thirdparts code.