Remove unused and shadowed global