add warning for mismatch Reference(name) and raw name
update