fix repeatability problem