fix MPS-17842: illegal model access
fix MPS-17870:Illegal read