fixed a bug in the sniffer when the number of rows to skip was given