removed unnecessary 3rdparty code