fixing copying