fix rtcm lock count