fix using ToList, context disposing