Fixed the skipping row problem