fix empty? for nil error from tutorial_box logic