Index shadowed a global declaration