Correct 3 warnings linked to global variables not being selected.