fix a corner case in the geometric restart