fix cyclic lock in prev checkin