fix sample, rea all input fixed