checkGBClosed logic improvements