fixing the bits