syntax error in else line