small bugfixes for ht12 parsing