fix issue #20: define global var without g: