bugfix: typo
bugfix: properly handle n/w unavailable state