Bugfixes in past lecture slides. Ty to LH