fixed dart analyzer warnings