fix lesson casts
configure