minor fix at sample program