content and commit commits judgment fix