fixed no unencoded bit bug