fixing the input