globales not working