Include location when reference resolution fails