context variable error solve