I think it should return current name if they are equal not null.