Fixed bug with generating 'potential' fields