fixed shift linked-list bug