remove useless network detect