Rewrote item repair