fixed bug where it wasn't possible to have two entities resolving to the same string