bulletproof locale detection and node downloading fix