Fix top-scope variable without an explicit namespace issue