fixed problems
Merge branch 'code' of github.com:kyzhai/SMURF into code