Fix annoying syntax errors