minor changes to the tutorial
fixed some problems in dep