[Debug] removed usage of a deprecated class (closes #8992)