fixed get_context_instance() is deprecated, please use context_xxxx::instance() instead.