check commit correct