Try a fix for potentials involving 'arctan2' which is real-values only