check only if it's on a private network
fix private network check
make private network check static