- app context error fix