commit check validate