ref list bug fix