reset data when one pkg finished