The idiom ‘A stitch in time saves nice’ refers to