COMP: Fixed syntax errors in error processing.