Fix the sample that does not execute because of missing default value