fixed a defect that caused references not to be sometimes updated when renaming a type/method (Issue #80)