Fixed global warning