diff --git a/daemon/HTTPServer.cpp b/daemon/HTTPServer.cpp
index ac83f87c..c2aee205 100644
--- a/daemon/HTTPServer.cpp
+++ b/daemon/HTTPServer.cpp
@@ -240,7 +240,7 @@ namespace http {
std::string webroot; i2p::config::GetOption("http.webroot", webroot);
// Page language
- std::string currLang = i2p::context.GetLanguage ()->GetLanguage(); // get current used language
+ std::string currLang = i2p::client::context.GetLanguage ()->GetLanguage(); // get current used language
auto it = i2p::i18n::languages.find(currLang);
std::string langCode = it->second.ShortCode;
@@ -766,7 +766,7 @@ namespace http {
s << " \r\n";
s << "\r\n
\r\n";
- std::string currLang = i2p::context.GetLanguage ()->GetLanguage(); // get current used language
+ std::string currLang = i2p::client::context.GetLanguage ()->GetLanguage(); // get current used language
s << "" << tr("Change language") << "
\r\n";
s << "