#550842 ferm: inconsistent handling of global variables in functions