Fix syntax error! Remove global references