fix lesson edit