bug global variable declaration + type declaration FIXED