Fixed bad references.