typo
removed comments
prevent E notice warnings on global var