fixed that < 8-bit bug