scan and repair