fixes in copy tool