fixed problem with removing copys from table