Multiple bugs just absolutely butchered.