fixes to tutorial