fixed copy code.