bugfix copying lists