Fixed some bad references.