Fixed a problem with some unresolved references of references