Fixed the copying