Fix sample program