Repairing tutorial generation