fixing harms syntax errors