Fixed a copying error