fix sample_input