Fix output in sample