Missing global

Signed-off-by: emanuele <emanuele45@gmail.com>
Excessive globals

Signed-off-by: emanuele <emanuele45@gmail.com>