lesson lib fixes