fixed 5164 bug. rename object and then copy it will be link to wrong object.