Revert "fixes in references"

This reverts commit 27cfc3aa73d8ac900d8ccb9587d6a9ac2d3ab120.