Fixed global vars