fixed syntax errors present in previous commit