If the Z axis is droping down after power off, or it can't raise up the correct height, the reason usually is that the belt for the z-axis motor is loose.