fix bug: hisfile -> histfile