fixed the copy entries bug