fixing syntax issues