fixes for tutorial