fix check network status method
merge last version
merge last version