Can you post a sample of Gcode for a program where this has happened and tell us what software you use?It might be that one of the parts has a Z0 at the base and one has it elsewhere.One other place to look for trouble is the coupling between the Z axis stepper and the leadscrew as it might have become a bit loose.