Fixes some of the References