fixing syntax errors to track invisble error