Fixed the creation of repair cards