cleanup of the input stuff