fixed weird problem probably caused by Copy