Revert "change initialize context"

This reverts commit d63a8134f11a6f70b61be5196837bc886240ce05.