exception for broken packets

this is pretty darn ugly