fix some bugs

fix "print list name" fault
fix list selection fault by using getSource()