fixed copy problem