syntax errors; cleanup