Reverted a part of f5e7f2481916d32d5e51b4f01a2deced78b81549

refs: #7931