fix fields requirements;
add a unit in lesson if lesson does no have units;