Fixing copy constructor