fix Issue 9276 - regression(2.061): Forward reference error