syntax errors fixes