added highlighting of errors
fixed some highlighting errors