fixed the LocalContext location problem