Fix: delete global var