fixed some bugs iwth new nework interface speedhcekc code for linux