Fixed syntax errors

Still doesn't work yet