fixed all remaining syntax errors, hopefully