bug fix due to previous commit in tutorial