Tech giant Apple has released a new version of iOS 9.2.1 that will stop the “error 53” device-bricking message from appearing.

Error 53 affects devices repaired by third-party technicians using components that were not part of the original device. Controversy has erupted of late after a rash of iOS users found that their devices were rendered useless when they updated to the latest version of the operating system.

Apple Inc. Software Update Will Fix Bricked Devices

Users find devices disabled after downloading software update

If components used in a repair job did not match the original device and affected the Touch ID fingerprint sensor, the iOS device would fail its Touch ID validation check. Such a check occurs when the user updates or restores iOS, and a failed test turns the device into a brick.

Apple says that it does so in order to protect sensitive customer data, but customers were not happy. A number of them joined forces to file a huge class-action lawsuit against the company. Today’s update will mean that devices disabled by “error 53” will be restored to full working condition, and devices repaired by third-party technicians are not disabled in the future.

However those devices will not have Touch ID enabled until they have been repaired by an Apple-authorized technician. At the same time as the update Apple has also released a support document showing customers how to fix “error 53” and issued an apology. The company has now claimed that the bricking issue was a factory test and was not intended to affect customers.

Apple issues official apology over “error 53”

“Some customers’ devices are showing ‘Connect to iTunes’ after attempting an iOS update or a restore from iTunes on a Mac or PC. This reports as an Error 53 in iTunes and appears when a device fails a security test. This test was designed to check whether Touch ID works properly before the device leaves the factory,” reads the statement.

“We apologize for any inconvenience, this was designed to be a factory test and was not intended to affect customers. Customers who paid for an out-of-warranty replacement of their device based on this issue should contact AppleCare about a reimbursement,” Apple continued.

Customers  who have the iPhone 6, 6s, 6 Plus, 6s Plus, iPad mini 3, iPad mini 4, iPad Air 2, and iPad Pro can download the update through iTunes.