copy constructor fixed. Thanks @gidden.