add status message to inform of syntax errors