fixing width for 8 bits