fixed method typo of references

fix misspelled method call which causes an AttributeError when using %references line magic.