fix bug with list not being copied