fixes #6585

fixes #6585
Should be `private` or `protected`