fixed repairHeading, pwning like a boss