Fix error message when newName is already bound