Better error message in case of syntax error