fix a pasting list bug