[#2005] fix bug about typo and reference