modify check function
Merge branch 'master' of github.com:kevinptt0323/CSFresh2014