fixed potential field bug