fix Issue 3994