fix wrong context for inflater