fixed some bits