Modified Gerhards fix for zeroRad