useless call of an undefined global variable
indentation fixed