fixed exception syntax error