Fix a problem that have used getContext() but not context