fix bug in current knowledge computation