rewind the rack.input before we try to read it