fixed server context initialization