fixed context implementation for global setting and http server merge implementation