added method to repair sticky headers