fix the input