fix internal reference