syntax errors/compilation fixes