fix net widget showing no such function error.