minor fix to some bits