fixing compilation errors
Merge branch 'master' of https://github.com/mxlan/knrModified