Fixed global declarations