fix some issues with tutorial