Fix exceed bits from being written repeatedly
close #69