fix repeatly process bug