Fix confusion between bits and bytes