fix bug in --begin option on mkngram