Fix special global vars