course lib fixes