fixed server context init vars functionality