fixed minor bug with HTK sampling period