Fixed missed global declaration