fix regression on check process
new version
Merge remote-tracking branch 'origin/master'
fixed gamma algorithm