Fixes a bad reference.