repair header byte calculations in assignment server