fix in gif copy ctor and assignment op