Small bug global declaration changed