Fix syntax in sample