fix subsequent keep conditional