fixed edit lesson bug