changed dictionary to use one byte tags