Remove unnecessary global