fixes in slides and code