fixed little problem in copy