Fix a small problem with a global package variable