fix validation on tutorial