updte refer source
fixed runtime error