Rectification of defective work