Fix compatible issue on tutorial