fixing syntax errors that I thought were already fixed