fix bit format