commit check code