Fixing syntax compile errors