set ref

set ref
bug fix

bug fix