fixing syntax error preventing correct parsing