fixe some syntax errors