[fix] debug mode returns existing object for local dupes