fixed network lib issues