add null list guard to copy constructor