validate package before copy