fix bug in tutorial